import type {UserInfo} from '@/typings/effects';

import {requestClient} from '@/api/request';

/**
 * 获取用户信息
 */
export async function getUserInfoApi() {
    return requestClient.get<UserInfo>('/user/info');
}
